package com.bonc.rms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bonc.rms.dao.RegisterDao;
import com.bonc.rms.service.RegisterService;

@Service(value = "registerServiceImpl")
public class RegisterServiceImpl implements RegisterService{
	
	@Autowired
	RegisterDao registerDao;

	@Override
	public void register(String userName, String password, String sex, String email, String address,
			String mobilePhone) {
	    registerDao.register(userName,password,sex,email,address, mobilePhone);
	}

}
